package org.zg.library.dao.impl;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.util.ArrayList;
import java.util.List;

import org.zg.library.dao.BaseDao;
import org.zg.library.dao.BooksDao;

public class BooksDaoImpl extends BaseDao implements BooksDao {
	PreparedStatement ps = null;
	Connection conn = null;
	String sql = null;
	List<Object> list = new ArrayList<Object>();
	@Override
	public ResultSet selectBooks() {
		// TODO Auto-generated method stub
		sql = "select * from book order by b_id";
		return select(sql, list);
	}
}
